package com.crm.model.mpojo;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Time;
import java.util.Date;


/**
 * The persistent class for the repairrecord database table.
 * 
 */
@Entity
@NamedQuery(name="Repairrecord.findAll", query="SELECT r FROM Repairrecord r")
public class Repairrecord implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="rc_id")
	private Integer rcId;

	@Column(name="g_cust")
	private Integer gCust;

	@Temporal(TemporalType.DATE)
	@Column(name="g_date")
	private Date gDate;

	@Column(name="g_remark")
	private String gRemark;

	@Column(name="g_statu")
	private Integer gStatu;

	@Column(name="g_time")
	private Time gTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="p_endtime")
	private Date pEndtime;

	@Column(name="p_manid")
	private int pManid;

	@Column(name="p_remark")
	private String pRemark;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="p_starttime")
	private Date pStarttime;

	@Column(name="p_statu")
	private Integer pStatu;

	@Temporal(TemporalType.DATE)
	@Column(name="rc_dateok")
	private Date rcDateok;

	@Column(name="rc_manid")
	private Integer rcManid;

	@Column(name="rc_remark")
	private String rcRemark;

	@Column(name="rc_result")
	private int rcResult;

	@Column(name="rc_timeok")
	private Time rcTimeok;

	@Column(name="rep_id")
	private Integer repId;

	public Repairrecord() {
	}

	public Integer getRcId() {
		return this.rcId;
	}

	public void setRcId(Integer rcId) {
		this.rcId = rcId;
	}

	public Integer getGCust() {
		return this.gCust;
	}

	public void setGCust(Integer gCust) {
		this.gCust = gCust;
	}

	public Date getGDate() {
		return this.gDate;
	}

	public void setGDate(Date gDate) {
		this.gDate = gDate;
	}

	public String getGRemark() {
		return this.gRemark;
	}

	public void setGRemark(String gRemark) {
		this.gRemark = gRemark;
	}

	public Integer getGStatu() {
		return this.gStatu;
	}

	public void setGStatu(Integer gStatu) {
		this.gStatu = gStatu;
	}

	public Time getGTime() {
		return this.gTime;
	}

	public void setGTime(Time gTime) {
		this.gTime = gTime;
	}

	public Date getPEndtime() {
		return this.pEndtime;
	}

	public void setPEndtime(Date pEndtime) {
		this.pEndtime = pEndtime;
	}

	public int getPManid() {
		return this.pManid;
	}

	public void setPManid(int pManid) {
		this.pManid = pManid;
	}

	public String getPRemark() {
		return this.pRemark;
	}

	public void setPRemark(String pRemark) {
		this.pRemark = pRemark;
	}

	public Date getPStarttime() {
		return this.pStarttime;
	}

	public void setPStarttime(Date pStarttime) {
		this.pStarttime = pStarttime;
	}

	public Integer getPStatu() {
		return this.pStatu;
	}

	public void setPStatu(Integer pStatu) {
		this.pStatu = pStatu;
	}

	public Date getRcDateok() {
		return this.rcDateok;
	}

	public void setRcDateok(Date rcDateok) {
		this.rcDateok = rcDateok;
	}

	public Integer getRcManid() {
		return this.rcManid;
	}

	public void setRcManid(Integer rcManid) {
		this.rcManid = rcManid;
	}

	public String getRcRemark() {
		return this.rcRemark;
	}

	public void setRcRemark(String rcRemark) {
		this.rcRemark = rcRemark;
	}

	public int getRcResult() {
		return this.rcResult;
	}

	public void setRcResult(int rcResult) {
		this.rcResult = rcResult;
	}

	public Time getRcTimeok() {
		return this.rcTimeok;
	}

	public void setRcTimeok(Time rcTimeok) {
		this.rcTimeok = rcTimeok;
	}

	public Integer getRepId() {
		return this.repId;
	}

	public void setRepId(Integer repId) {
		this.repId = repId;
	}

	@Override
	public String toString() {
		return "Repairrecord [rcId=" + rcId + ", gCust=" + gCust + ", gDate=" + gDate + ", gRemark=" + gRemark
				+ ", gStatu=" + gStatu + ", gTime=" + gTime + ", pEndtime=" + pEndtime + ", pManid=" + pManid
				+ ", pRemark=" + pRemark + ", pStarttime=" + pStarttime + ", pStatu=" + pStatu + ", rcDateok="
				+ rcDateok + ", rcManid=" + rcManid + ", rcRemark=" + rcRemark + ", rcResult=" + rcResult
				+ ", rcTimeok=" + rcTimeok + ", repId=" + repId + "]";
	}

	
}